<%@ taglib prefix="nls" uri="http://www.vacoor.com/el/nls/functions" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/view/include/taglibs.jspf"%>
<%--
  ~ Copyright (c) 2005, 2014 vacoor
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  --%>
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <link rel="stylesheet" href="${ctx}/css/admin.css"/>
    <link rel="stylesheet" href="${ctx}/js/lib/jqgrid/css/jquery-ui.min.css">
    <link rel="stylesheet" href="${ctx}/js/lib/jqgrid/css/jquery-ui.theme.min.css">
    <link rel="stylesheet" href="${ctx}/js/lib/jqgrid/css/ui.jqgrid.css">
    <script src="${ctx}/js/lib/jquery-1.11.2.min.js"></script>
    <script src="${ctx}/js/lib/jqgrid/js/i18n/grid.locale-cn.js"></script>
    <script src="${ctx}/js/lib/jqgrid/js/jquery.jqGrid.min.js"></script>
    <script src="${ctx}/js/jqgrid.custom.js"></script>
</head>
<body>
<div class="topToolbar">
    <span class="title">${nls:t('安全过滤器管理')}</span>
    <span style="padding-left: 10px;color:#C00;">提示：没有自动翻译的文字可以手动增加。</span>
    <a href="javascript:location.reload();" class="reload">刷新</a>
</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="dataTable">
    <tbody>
    <tr align="left" class="head">
        <td width="5%" height="36" class="firstCol">#</td>
        <td width="40%">URL</td>
        <td>xx</td>
        <td width="15%" class="endCol">操作</td>
    </tr>
    <tr align="center" class="head">
        <td width="5%" height="30" style="text-align: center;">0.　</td>
        <td width="40%" align="left" class="menuname"><input name="langFrom" class="input"></td>
        <td align="left"><input name="langTo" class="input"></td>
        <td width="20%" height="30" class="action mgr_btn"><a style="float:none;color:#000;text-decoration:none;" href="javascript:;" onclick="$('#formAdd').submit();" title="在原语言包中新增一项（保存您的修改后再点这里）">增加</a></td>
    </tr>
    </tbody>
</table>
<form name="form" id="form" method="post" action="?save&amp;id=3">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="dataTable">
        <tbody>
        <c:if test="${fn:length(props) < 1}">
        <tr align="center">
            <td height="30" colspan="4" align="center" style="color:#C00;">${nls:t('暂无记录，请到网站前台刷新该语言的页面后再返回这里')}</td>
        </tr>
        </c:if>
        <c:forEach var="filter" varStatus="st" items="${staticFilters}">
        <tr align="center" class="mgr_tr" id="tr${st.count}">
            <td width="5%" height="30" align="center">${st.count}.　</td>
            <%--<td width="5%" height="30" align="center">${st.count}.</td>--%>
            <td width="40%" align="left" class="menuname">${filter.key}</td>
            <td align="left"><input type="text" name="lang[123]" value="${filter.value}" class="input"></td>
            <td width="20%" height="30" class="action">
                <span>[<a href="javascript:;" onclick="$('#tr1').remove();" title="保存后才会生效哦">删除</a>]</span>
            </td>
        </tr>
        </c:forEach>
        </tbody>
    </table>
</form>
<div class="bottomToolbar"> <a href="admin_add.jsp" class="dataBtn">添加管理员</a> </div>
<div class="page"> <div class="pageText">共<span>1</span>页<span>2</span>条记录</div> </div>
<div class="quickToolbar">
    <div class="qiuckWarp">
        <div class="quickArea"> <a href="admin_add.php" class="dataBtn">添加管理员</a> <span class="pageSmall">
			<div class="pageText">共<span>1</span>页<span>2</span>条记录</div>			</span></div>
        <div class="quickAreaBg"></div>
    </div>
</div>
</body>
</html>
